home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / src / dmake / Makefile < prev    next >
Makefile  |  1997-09-09  |  856b  |  34 lines

  1. # Makefile for linux/UNIX
  2. #
  3. # (c)Copyright 1992 Obvious Implementations Corp, All Rights Reserved
  4. # CONFIDENTIAL, This is unpublished proprietary source code owned by
  5. # Obvious Implementations Corp.  This material contains trade secrets of
  6. # Obvious Implementations Corp.
  7.  
  8. SRCS= buffer.c cmdlist.c convert.c depend.c main.c parse.c run.c subs.c var.c
  9. OBJS= buffer.o cmdlist.o convert.o depend.o main.o parse.o run.o subs.o var.o
  10.  
  11. EXED= ../../ubin/dmake
  12. EXE= dmake
  13.  
  14. CFLAGS= -Wall -Wstrict-prototypes -O2 -I../.. -L../../ulib -DREGISTERED -DCOMMERCIAL -DNO_ASM -DINTELBYTEORDER
  15.  
  16. PROTOS= dmake-protos.h
  17.  
  18. all: $(PROTOS) $(EXE)
  19.  
  20. $(EXE) : $(OBJS)
  21.     gcc $(CFLAGS) $(OBJS) -o $(EXE) -lamiga
  22.     strip $(EXE)
  23.  
  24. $(PROTOS) : $(SRCS)
  25.     rm -f $(PROTOS)
  26.     fgrep -h Prototype $(SRCS) >$(PROTOS)
  27.  
  28. install:
  29.     install -m 0755 $(EXE) $(EXED)
  30.  
  31. clean:
  32.     rm -f $(PROTOS) $(OBJS) $(EXE)
  33.  
  34.